@import (reference) "~weaver-mobile/dist/weaver-mobile.less";
@import "./doc.less";
@import "./news.less";
@import "./netdisk.less";
@import "./systemDoc.less";
@import "./attach.less";

html {
  height: 100%;
  body {
    height: 100%;
    #root {
      height: 100%;
    }
  }
}
.wea-doc-error-line{
  .am-activity-indicator{
    padding-left: 48%;
  }
}
.wea-doc-error {
  text-align: center;
  display: block;
  height: 100%;
  position: relative;
  padding-top: 50%;
  // top: 40%;
  color: #999999;
  .am-activity-indicator{
    padding-left: 48%;
    // padding-top: 40%;
  }
  .am-icon-no-data {
    height: 55 * @hd;
    width: 55 * @hd;
  }
  & > div {
    padding-top: @v-spacing-md;
    font-size:@font-size-caption-sm;
  }
}

.wea-doc-rich-text {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  &-editor {
    position: relative;
    flex: 1 1;
    &-content {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 100%;
      overflow: auto;
      .cke_editable {
        padding-top: 1%;//防止上方被挤出padding的情况
        min-height: 96%;//不知道为什么，设为96%以上时始终会有滚动条，暂时先这么写一下
      }
      //border: none;
      /*
      .cke_contents {
        height: 100% !important; //改内连
        overflow: hidden;
      }
      .cke_inner {
        height: 100%;
      }
      .cke_top {
        display: none;
      }
      .cke_bottom {
        display: none;
      }*/
    }
  }
  .wm-reply {
    width: 100%;
    .wm-reply-bar {
      background: @fill-grey-weak;
      .wm-browser {
        background: @fill-grey-weak;
      }
    }
  }
}
.cke_float.cke_ltr{
  display: none;
}
.cke_copyformatting_notification {
  display: none;
}